package com.wpml.search.vo;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * @description:
 * @author: wp
 * @date: 2019-09-02 10:43
 **/
@Data
@ToString
@Accessors(chain = true)
public class SkuEsModel {

    private Long skuId;
    private Long spuId;
    private String skuTitle;
    private BigDecimal skuPrice;
    private String skuImg;
    private Long saleCount;
    private Long hotScore;
    private Long brandId;
    private Long catalogId;
    private Boolean hasStock;
    private String brandName;
    private String brandImg;
    private String catalogName;
    private List<Attrs> attrs;


    @Data
    @ToString
    public static class Attrs {
        private Long attrId;
        private String attrName;
        private String attrValue;
    }
}
